package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.mapper.SciProjectScoreCfgMapper;
import com.ruoyi.system.service.ISciUserScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class SciUserScoreServiceImpl implements ISciUserScoreService {

    @Autowired
    private SciProjectScoreCfgMapper sciProjectScoreCfgMapper;


    public AjaxResult insertScoreHistory(Map<String, Object> paramMap){

        return null;
    }

    @Override
    public AjaxResult computeUserScore(Map<String, Object> paramMap) {
        // 查用户当前积分

        // 查用户要增加的积分

        // 查用户总积分


        return null;
    }
}
